package com.xingzhi.edu;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.ComponentScan;

/**
 * Create with Intellij IDEA.
 * Description：
 * User:Zero
 * Date:2021/3/22
 * Time:23:03
 */

/**
*@Description:创建启动类
*/
@SpringBootApplication
//@MapperScan("com.xingzhi.edu.mapper")
@ComponentScan(basePackages = {"com.xingzhi"})  //扫描包名为com.xingzhi
@ComponentScan("com.xingzhi.servicebase.handler")
public class TeacherApplication {
    public static void main(String[] args)
    {
        SpringApplication.run(TeacherApplication.class, args);
    }
}
